import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

//配置文件路径
//声明接口
export interface PrefabPathType {
    //表示可以随意定义多个属性
    //属性名：路径
    [propName: string]: string;

}

//实现接口
export let PrefabPath: PrefabPathType = {
    UIRoot: "Prefab/UIRoot",
    UILoading: "Prefab/UILoading",
}

export let gameConfig = {
    isScroll: false,
    roleIndex: 0,
    fireSpeed: 700,
    horAcc: 0,
    verAcc: -500
}

export enum BulletType {
    None,
    Enemy,
    Player
}

export let scoreData = {
    bestScore: 0,
    curScore: 0
}
